package com.zzq.guli.service.edu.mapper;

import com.zzq.guli.service.edu.entity.Subject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzq.guli.service.edu.entity.SubjectVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 课程科目 Mapper 接口
 * </p>
 *
 * @author ZZQ
 * @since 2024-04-12
 */


@Mapper
public interface SubjectMapper extends BaseMapper<Subject> {

    List<SubjectVo> getNestedTreeList(@Param("id") String id);
}
